<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>变量举例</title>
</head>
<body>
<script type="text/javascript">
    var num = 100;
    var name = "小勤";
    job = "JavaEE 工程师";
    alert("num=" + num);
    alert("job=" + job);
</script>
</body>
</html>